package com.xiangyang.controller;

import com.xiangyang.entity.dto.Result;
import com.xiangyang.service.IMedicineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MedicineController {
    @Autowired
    private IMedicineService medicineService;
       @PostMapping("/MedicationManagement/All")
    public Result SelectDruMange() {
        return medicineService.selectMedicine();
    }
}
